import Moke from 'mockjs'
import data from './data.json'

//三个接口
//返回商家信息
Moke.mock('/shopinfo',{code:0,data:data.info})

//返回食物信息
Moke.mock('/shopgoods',{code:0,data:data.goods})
//返回评论信息
Moke.mock('/shopratings',{code:0,data:data.ratings})